import React from 'react';
import { Router as DefaultRouter, Route, Switch } from 'react-router-dom';
import dynamic from 'umi/dynamic';
import renderRoutes from 'umi/lib/renderRoutes';
import history from '@tmp/history';
import RendererWrapper0 from 'G:/OpenSource/mscodereact/src/pages/.umi/LocaleWrapper.jsx';
import _dvaDynamic from 'dva/dynamic';

const Router = require('dva/router').routerRedux.ConnectedRouter;

const routes = [
  {
    path: '/user',
    component: __IS_BROWSER
      ? _dvaDynamic({
          component: () =>
            import(/* webpackChunkName: "layouts__UserLayout" */ '../../layouts/UserLayout'),
          LoadingComponent: require('G:/OpenSource/mscodereact/src/components/PageLoading/index')
            .default,
        })
      : require('../../layouts/UserLayout').default,
    routes: [
      {
        path: '/user',
        redirect: '/user/login',
        exact: true,
      },
      {
        path: '/user/login',
        name: 'login',
        component: __IS_BROWSER
          ? _dvaDynamic({
              app: require('@tmp/dva').getApp(),
              models: () => [
                import(/* webpackChunkName: 'p__User__models__forgotPassword.js' */ 'G:/OpenSource/mscodereact/src/pages/User/models/forgotPassword.js').then(
                  m => {
                    return { namespace: 'forgotPassword', ...m.default };
                  },
                ),
                import(/* webpackChunkName: 'p__User__models__register.js' */ 'G:/OpenSource/mscodereact/src/pages/User/models/register.js').then(
                  m => {
                    return { namespace: 'register', ...m.default };
                  },
                ),
              ],
              component: () =>
                import(/* webpackChunkName: "p__User__Login" */ '../User/Login'),
              LoadingComponent: require('G:/OpenSource/mscodereact/src/components/PageLoading/index')
                .default,
            })
          : require('../User/Login').default,
        exact: true,
      },
      {
        path: '/user/register',
        name: 'register',
        component: __IS_BROWSER
          ? _dvaDynamic({
              app: require('@tmp/dva').getApp(),
              models: () => [
                import(/* webpackChunkName: 'p__User__models__forgotPassword.js' */ 'G:/OpenSource/mscodereact/src/pages/User/models/forgotPassword.js').then(
                  m => {
                    return { namespace: 'forgotPassword', ...m.default };
                  },
                ),
                import(/* webpackChunkName: 'p__User__models__register.js' */ 'G:/OpenSource/mscodereact/src/pages/User/models/register.js').then(
                  m => {
                    return { namespace: 'register', ...m.default };
                  },
                ),
              ],
              component: () =>
                import(/* webpackChunkName: "p__User__Register" */ '../User/Register'),
              LoadingComponent: require('G:/OpenSource/mscodereact/src/components/PageLoading/index')
                .default,
            })
          : require('../User/Register').default,
        exact: true,
      },
      {
        path: '/user/forgotpassword',
        name: 'forgotpassword',
        component: __IS_BROWSER
          ? _dvaDynamic({
              app: require('@tmp/dva').getApp(),
              models: () => [
                import(/* webpackChunkName: 'p__User__models__forgotPassword.js' */ 'G:/OpenSource/mscodereact/src/pages/User/models/forgotPassword.js').then(
                  m => {
                    return { namespace: 'forgotPassword', ...m.default };
                  },
                ),
                import(/* webpackChunkName: 'p__User__models__register.js' */ 'G:/OpenSource/mscodereact/src/pages/User/models/register.js').then(
                  m => {
                    return { namespace: 'register', ...m.default };
                  },
                ),
              ],
              component: () =>
                import(/* webpackChunkName: "p__User__ForgotPassword" */ '../User/ForgotPassword'),
              LoadingComponent: require('G:/OpenSource/mscodereact/src/components/PageLoading/index')
                .default,
            })
          : require('../User/ForgotPassword').default,
        exact: true,
      },
      {
        path: '/user/register-result',
        name: 'register.result',
        component: __IS_BROWSER
          ? _dvaDynamic({
              app: require('@tmp/dva').getApp(),
              models: () => [
                import(/* webpackChunkName: 'p__User__models__forgotPassword.js' */ 'G:/OpenSource/mscodereact/src/pages/User/models/forgotPassword.js').then(
                  m => {
                    return { namespace: 'forgotPassword', ...m.default };
                  },
                ),
                import(/* webpackChunkName: 'p__User__models__register.js' */ 'G:/OpenSource/mscodereact/src/pages/User/models/register.js').then(
                  m => {
                    return { namespace: 'register', ...m.default };
                  },
                ),
              ],
              component: () =>
                import(/* webpackChunkName: "p__User__RegisterResult" */ '../User/RegisterResult'),
              LoadingComponent: require('G:/OpenSource/mscodereact/src/components/PageLoading/index')
                .default,
            })
          : require('../User/RegisterResult').default,
        exact: true,
      },
      {
        path: '/user/forgotpassword-result',
        name: 'forgotpassword.result',
        component: __IS_BROWSER
          ? _dvaDynamic({
              app: require('@tmp/dva').getApp(),
              models: () => [
                import(/* webpackChunkName: 'p__User__models__forgotPassword.js' */ 'G:/OpenSource/mscodereact/src/pages/User/models/forgotPassword.js').then(
                  m => {
                    return { namespace: 'forgotPassword', ...m.default };
                  },
                ),
                import(/* webpackChunkName: 'p__User__models__register.js' */ 'G:/OpenSource/mscodereact/src/pages/User/models/register.js').then(
                  m => {
                    return { namespace: 'register', ...m.default };
                  },
                ),
              ],
              component: () =>
                import(/* webpackChunkName: "p__User__ForgotPasswordResult" */ '../User/ForgotPasswordResult'),
              LoadingComponent: require('G:/OpenSource/mscodereact/src/components/PageLoading/index')
                .default,
            })
          : require('../User/ForgotPasswordResult').default,
        exact: true,
      },
      {
        component: __IS_BROWSER
          ? _dvaDynamic({
              component: () =>
                import(/* webpackChunkName: "p__404" */ '../404'),
              LoadingComponent: require('G:/OpenSource/mscodereact/src/components/PageLoading/index')
                .default,
            })
          : require('../404').default,
        exact: true,
      },
      {
        component: () =>
          React.createElement(
            require('G:/OpenSource/mscodereact/node_modules/umi-build-dev/lib/plugins/404/NotFound.js')
              .default,
            { pagesPath: 'src/pages', hasRoutesInConfig: true },
          ),
      },
    ],
  },
  {
    path: '/',
    component: __IS_BROWSER
      ? _dvaDynamic({
          component: () =>
            import(/* webpackChunkName: "layouts__BasicLayout" */ '../../layouts/BasicLayout'),
          LoadingComponent: require('G:/OpenSource/mscodereact/src/components/PageLoading/index')
            .default,
        })
      : require('../../layouts/BasicLayout').default,
    routes: [
      {
        path: '/',
        redirect: '/home/workbench',
        exact: true,
      },
      {
        path: '/home',
        name: 'home',
        routes: [
          {
            path: '/home/workbench',
            name: 'workbench',
            component: __IS_BROWSER
              ? _dvaDynamic({
                  app: require('@tmp/dva').getApp(),
                  models: () => [
                    import(/* webpackChunkName: 'p__Home__models__myNotification.js' */ 'G:/OpenSource/mscodereact/src/pages/Home/models/myNotification.js').then(
                      m => {
                        return { namespace: 'myNotification', ...m.default };
                      },
                    ),
                  ],
                  component: () =>
                    import(/* webpackChunkName: "p__Home__Workbench" */ '../Home/Workbench'),
                  LoadingComponent: require('G:/OpenSource/mscodereact/src/components/PageLoading/index')
                    .default,
                })
              : require('../Home/Workbench').default,
            exact: true,
          },
          {
            path: '/home/mynotification',
            name: 'mynotification',
            component: __IS_BROWSER
              ? _dvaDynamic({
                  app: require('@tmp/dva').getApp(),
                  models: () => [
                    import(/* webpackChunkName: 'p__Home__models__myNotification.js' */ 'G:/OpenSource/mscodereact/src/pages/Home/models/myNotification.js').then(
                      m => {
                        return { namespace: 'myNotification', ...m.default };
                      },
                    ),
                  ],
                  component: () =>
                    import(/* webpackChunkName: "p__Home__MyNotification" */ '../Home/MyNotification'),
                  LoadingComponent: require('G:/OpenSource/mscodereact/src/components/PageLoading/index')
                    .default,
                })
              : require('../Home/MyNotification').default,
            exact: true,
          },
          {
            component: () =>
              React.createElement(
                require('G:/OpenSource/mscodereact/node_modules/umi-build-dev/lib/plugins/404/NotFound.js')
                  .default,
                { pagesPath: 'src/pages', hasRoutesInConfig: true },
              ),
          },
        ],
      },
      {
        path: '/authority',
        name: 'authority',
        routes: [
          {
            path: '/authority/sysrole',
            name: 'sysrole',
            component: __IS_BROWSER
              ? _dvaDynamic({
                  app: require('@tmp/dva').getApp(),
                  models: () => [
                    import(/* webpackChunkName: 'p__Admin__models__dataPermission.js' */ 'G:/OpenSource/mscodereact/src/pages/Admin/models/dataPermission.js').then(
                      m => {
                        return { namespace: 'dataPermission', ...m.default };
                      },
                    ),
                    import(/* webpackChunkName: 'p__Admin__models__notification.js' */ 'G:/OpenSource/mscodereact/src/pages/Admin/models/notification.js').then(
                      m => {
                        return { namespace: 'notification', ...m.default };
                      },
                    ),
                    import(/* webpackChunkName: 'p__Admin__models__sysDict.js' */ 'G:/OpenSource/mscodereact/src/pages/Admin/models/sysDict.js').then(
                      m => {
                        return { namespace: 'sysDict', ...m.default };
                      },
                    ),
                    import(/* webpackChunkName: 'p__Admin__models__sysMenu.js' */ 'G:/OpenSource/mscodereact/src/pages/Admin/models/sysMenu.js').then(
                      m => {
                        return { namespace: 'sysMenu', ...m.default };
                      },
                    ),
                    import(/* webpackChunkName: 'p__Admin__models__sysOrg.js' */ 'G:/OpenSource/mscodereact/src/pages/Admin/models/sysOrg.js').then(
                      m => {
                        return { namespace: 'sysOrg', ...m.default };
                      },
                    ),
                    import(/* webpackChunkName: 'p__Admin__models__sysParam.js' */ 'G:/OpenSource/mscodereact/src/pages/Admin/models/sysParam.js').then(
                      m => {
                        return { namespace: 'sysParam', ...m.default };
                      },
                    ),
                    import(/* webpackChunkName: 'p__Admin__models__sysRegion.js' */ 'G:/OpenSource/mscodereact/src/pages/Admin/models/sysRegion.js').then(
                      m => {
                        return { namespace: 'sysRegion', ...m.default };
                      },
                    ),
                    import(/* webpackChunkName: 'p__Admin__models__sysRole.js' */ 'G:/OpenSource/mscodereact/src/pages/Admin/models/sysRole.js').then(
                      m => {
                        return { namespace: 'sysRole', ...m.default };
                      },
                    ),
                    import(/* webpackChunkName: 'p__Admin__models__sysUser.js' */ 'G:/OpenSource/mscodereact/src/pages/Admin/models/sysUser.js').then(
                      m => {
                        return { namespace: 'sysUser', ...m.default };
                      },
                    ),
                  ],
                  component: () =>
                    import(/* webpackChunkName: "p__Admin__SysRole" */ '../Admin/SysRole'),
                  LoadingComponent: require('G:/OpenSource/mscodereact/src/components/PageLoading/index')
                    .default,
                })
              : require('../Admin/SysRole').default,
            exact: true,
          },
          {
            path: '/authority/datapermission',
            name: 'datapermission',
            component: __IS_BROWSER
              ? _dvaDynamic({
                  app: require('@tmp/dva').getApp(),
                  models: () => [
                    import(/* webpackChunkName: 'p__Admin__models__dataPermission.js' */ 'G:/OpenSource/mscodereact/src/pages/Admin/models/dataPermission.js').then(
                      m => {
                        return { namespace: 'dataPermission', ...m.default };
                      },
                    ),
                    import(/* webpackChunkName: 'p__Admin__models__notification.js' */ 'G:/OpenSource/mscodereact/src/pages/Admin/models/notification.js').then(
                      m => {
                        return { namespace: 'notification', ...m.default };
                      },
                    ),
                    import(/* webpackChunkName: 'p__Admin__models__sysDict.js' */ 'G:/OpenSource/mscodereact/src/pages/Admin/models/sysDict.js').then(
                      m => {
                        return { namespace: 'sysDict', ...m.default };
                      },
                    ),
                    import(/* webpackChunkName: 'p__Admin__models__sysMenu.js' */ 'G:/OpenSource/mscodereact/src/pages/Admin/models/sysMenu.js').then(
                      m => {
                        return { namespace: 'sysMenu', ...m.default };
                      },
                    ),
                    import(/* webpackChunkName: 'p__Admin__models__sysOrg.js' */ 'G:/OpenSource/mscodereact/src/pages/Admin/models/sysOrg.js').then(
                      m => {
                        return { namespace: 'sysOrg', ...m.default };
                      },
                    ),
                    import(/* webpackChunkName: 'p__Admin__models__sysParam.js' */ 'G:/OpenSource/mscodereact/src/pages/Admin/models/sysParam.js').then(
                      m => {
                        return { namespace: 'sysParam', ...m.default };
                      },
                    ),
                    import(/* webpackChunkName: 'p__Admin__models__sysRegion.js' */ 'G:/OpenSource/mscodereact/src/pages/Admin/models/sysRegion.js').then(
                      m => {
                        return { namespace: 'sysRegion', ...m.default };
                      },
                    ),
                    import(/* webpackChunkName: 'p__Admin__models__sysRole.js' */ 'G:/OpenSource/mscodereact/src/pages/Admin/models/sysRole.js').then(
                      m => {
                        return { namespace: 'sysRole', ...m.default };
                      },
                    ),
                    import(/* webpackChunkName: 'p__Admin__models__sysUser.js' */ 'G:/OpenSource/mscodereact/src/pages/Admin/models/sysUser.js').then(
                      m => {
                        return { namespace: 'sysUser', ...m.default };
                      },
                    ),
                  ],
                  component: () =>
                    import(/* webpackChunkName: "p__Admin__DataPermission" */ '../Admin/DataPermission'),
                  LoadingComponent: require('G:/OpenSource/mscodereact/src/components/PageLoading/index')
                    .default,
                })
              : require('../Admin/DataPermission').default,
            exact: true,
          },
          {
            component: () =>
              React.createElement(
                require('G:/OpenSource/mscodereact/node_modules/umi-build-dev/lib/plugins/404/NotFound.js')
                  .default,
                { pagesPath: 'src/pages', hasRoutesInConfig: true },
              ),
          },
        ],
      },
      {
        path: '/admin',
        name: 'admin',
        routes: [
          {
            path: '/admin/sysuser',
            name: 'sysuser',
            component: __IS_BROWSER
              ? _dvaDynamic({
                  app: require('@tmp/dva').getApp(),
                  models: () => [
                    import(/* webpackChunkName: 'p__Admin__models__dataPermission.js' */ 'G:/OpenSource/mscodereact/src/pages/Admin/models/dataPermission.js').then(
                      m => {
                        return { namespace: 'dataPermission', ...m.default };
                      },
                    ),
                    import(/* webpackChunkName: 'p__Admin__models__notification.js' */ 'G:/OpenSource/mscodereact/src/pages/Admin/models/notification.js').then(
                      m => {
                        return { namespace: 'notification', ...m.default };
                      },
                    ),
                    import(/* webpackChunkName: 'p__Admin__models__sysDict.js' */ 'G:/OpenSource/mscodereact/src/pages/Admin/models/sysDict.js').then(
                      m => {
                        return { namespace: 'sysDict', ...m.default };
                      },
                    ),
                    import(/* webpackChunkName: 'p__Admin__models__sysMenu.js' */ 'G:/OpenSource/mscodereact/src/pages/Admin/models/sysMenu.js').then(
                      m => {
                        return { namespace: 'sysMenu', ...m.default };
                      },
                    ),
                    import(/* webpackChunkName: 'p__Admin__models__sysOrg.js' */ 'G:/OpenSource/mscodereact/src/pages/Admin/models/sysOrg.js').then(
                      m => {
                        return { namespace: 'sysOrg', ...m.default };
                      },
                    ),
                    import(/* webpackChunkName: 'p__Admin__models__sysParam.js' */ 'G:/OpenSource/mscodereact/src/pages/Admin/models/sysParam.js').then(
                      m => {
                        return { namespace: 'sysParam', ...m.default };
                      },
                    ),
                    import(/* webpackChunkName: 'p__Admin__models__sysRegion.js' */ 'G:/OpenSource/mscodereact/src/pages/Admin/models/sysRegion.js').then(
                      m => {
                        return { namespace: 'sysRegion', ...m.default };
                      },
                    ),
                    import(/* webpackChunkName: 'p__Admin__models__sysRole.js' */ 'G:/OpenSource/mscodereact/src/pages/Admin/models/sysRole.js').then(
                      m => {
                        return { namespace: 'sysRole', ...m.default };
                      },
                    ),
                    import(/* webpackChunkName: 'p__Admin__models__sysUser.js' */ 'G:/OpenSource/mscodereact/src/pages/Admin/models/sysUser.js').then(
                      m => {
                        return { namespace: 'sysUser', ...m.default };
                      },
                    ),
                  ],
                  component: () =>
                    import(/* webpackChunkName: "p__Admin__SysUser" */ '../Admin/SysUser'),
                  LoadingComponent: require('G:/OpenSource/mscodereact/src/components/PageLoading/index')
                    .default,
                })
              : require('../Admin/SysUser').default,
            exact: true,
          },
          {
            path: '/admin/sysmenu',
            name: 'sysmenu',
            component: __IS_BROWSER
              ? _dvaDynamic({
                  app: require('@tmp/dva').getApp(),
                  models: () => [
                    import(/* webpackChunkName: 'p__Admin__models__dataPermission.js' */ 'G:/OpenSource/mscodereact/src/pages/Admin/models/dataPermission.js').then(
                      m => {
                        return { namespace: 'dataPermission', ...m.default };
                      },
                    ),
                    import(/* webpackChunkName: 'p__Admin__models__notification.js' */ 'G:/OpenSource/mscodereact/src/pages/Admin/models/notification.js').then(
                      m => {
                        return { namespace: 'notification', ...m.default };
                      },
                    ),
                    import(/* webpackChunkName: 'p__Admin__models__sysDict.js' */ 'G:/OpenSource/mscodereact/src/pages/Admin/models/sysDict.js').then(
                      m => {
                        return { namespace: 'sysDict', ...m.default };
                      },
                    ),
                    import(/* webpackChunkName: 'p__Admin__models__sysMenu.js' */ 'G:/OpenSource/mscodereact/src/pages/Admin/models/sysMenu.js').then(
                      m => {
                        return { namespace: 'sysMenu', ...m.default };
                      },
                    ),
                    import(/* webpackChunkName: 'p__Admin__models__sysOrg.js' */ 'G:/OpenSource/mscodereact/src/pages/Admin/models/sysOrg.js').then(
                      m => {
                        return { namespace: 'sysOrg', ...m.default };
                      },
                    ),
                    import(/* webpackChunkName: 'p__Admin__models__sysParam.js' */ 'G:/OpenSource/mscodereact/src/pages/Admin/models/sysParam.js').then(
                      m => {
                        return { namespace: 'sysParam', ...m.default };
                      },
                    ),
                    import(/* webpackChunkName: 'p__Admin__models__sysRegion.js' */ 'G:/OpenSource/mscodereact/src/pages/Admin/models/sysRegion.js').then(
                      m => {
                        return { namespace: 'sysRegion', ...m.default };
                      },
                    ),
                    import(/* webpackChunkName: 'p__Admin__models__sysRole.js' */ 'G:/OpenSource/mscodereact/src/pages/Admin/models/sysRole.js').then(
                      m => {
                        return { namespace: 'sysRole', ...m.default };
                      },
                    ),
                    import(/* webpackChunkName: 'p__Admin__models__sysUser.js' */ 'G:/OpenSource/mscodereact/src/pages/Admin/models/sysUser.js').then(
                      m => {
                        return { namespace: 'sysUser', ...m.default };
                      },
                    ),
                  ],
                  component: () =>
                    import(/* webpackChunkName: "p__Admin__SysMenu" */ '../Admin/SysMenu'),
                  LoadingComponent: require('G:/OpenSource/mscodereact/src/components/PageLoading/index')
                    .default,
                })
              : require('../Admin/SysMenu').default,
            exact: true,
          },
          {
            path: '/admin/sysorg',
            name: 'sysorg',
            component: __IS_BROWSER
              ? _dvaDynamic({
                  app: require('@tmp/dva').getApp(),
                  models: () => [
                    import(/* webpackChunkName: 'p__Admin__models__dataPermission.js' */ 'G:/OpenSource/mscodereact/src/pages/Admin/models/dataPermission.js').then(
                      m => {
                        return { namespace: 'dataPermission', ...m.default };
                      },
                    ),
                    import(/* webpackChunkName: 'p__Admin__models__notification.js' */ 'G:/OpenSource/mscodereact/src/pages/Admin/models/notification.js').then(
                      m => {
                        return { namespace: 'notification', ...m.default };
                      },
                    ),
                    import(/* webpackChunkName: 'p__Admin__models__sysDict.js' */ 'G:/OpenSource/mscodereact/src/pages/Admin/models/sysDict.js').then(
                      m => {
                        return { namespace: 'sysDict', ...m.default };
                      },
                    ),
                    import(/* webpackChunkName: 'p__Admin__models__sysMenu.js' */ 'G:/OpenSource/mscodereact/src/pages/Admin/models/sysMenu.js').then(
                      m => {
                        return { namespace: 'sysMenu', ...m.default };
                      },
                    ),
                    import(/* webpackChunkName: 'p__Admin__models__sysOrg.js' */ 'G:/OpenSource/mscodereact/src/pages/Admin/models/sysOrg.js').then(
                      m => {
                        return { namespace: 'sysOrg', ...m.default };
                      },
                    ),
                    import(/* webpackChunkName: 'p__Admin__models__sysParam.js' */ 'G:/OpenSource/mscodereact/src/pages/Admin/models/sysParam.js').then(
                      m => {
                        return { namespace: 'sysParam', ...m.default };
                      },
                    ),
                    import(/* webpackChunkName: 'p__Admin__models__sysRegion.js' */ 'G:/OpenSource/mscodereact/src/pages/Admin/models/sysRegion.js').then(
                      m => {
                        return { namespace: 'sysRegion', ...m.default };
                      },
                    ),
                    import(/* webpackChunkName: 'p__Admin__models__sysRole.js' */ 'G:/OpenSource/mscodereact/src/pages/Admin/models/sysRole.js').then(
                      m => {
                        return { namespace: 'sysRole', ...m.default };
                      },
                    ),
                    import(/* webpackChunkName: 'p__Admin__models__sysUser.js' */ 'G:/OpenSource/mscodereact/src/pages/Admin/models/sysUser.js').then(
                      m => {
                        return { namespace: 'sysUser', ...m.default };
                      },
                    ),
                  ],
                  component: () =>
                    import(/* webpackChunkName: "p__Admin__SysOrg" */ '../Admin/SysOrg'),
                  LoadingComponent: require('G:/OpenSource/mscodereact/src/components/PageLoading/index')
                    .default,
                })
              : require('../Admin/SysOrg').default,
            exact: true,
          },
          {
            path: '/admin/sysdict',
            name: 'sysdict',
            component: __IS_BROWSER
              ? _dvaDynamic({
                  app: require('@tmp/dva').getApp(),
                  models: () => [
                    import(/* webpackChunkName: 'p__Admin__models__dataPermission.js' */ 'G:/OpenSource/mscodereact/src/pages/Admin/models/dataPermission.js').then(
                      m => {
                        return { namespace: 'dataPermission', ...m.default };
                      },
                    ),
                    import(/* webpackChunkName: 'p__Admin__models__notification.js' */ 'G:/OpenSource/mscodereact/src/pages/Admin/models/notification.js').then(
                      m => {
                        return { namespace: 'notification', ...m.default };
                      },
                    ),
                    import(/* webpackChunkName: 'p__Admin__models__sysDict.js' */ 'G:/OpenSource/mscodereact/src/pages/Admin/models/sysDict.js').then(
                      m => {
                        return { namespace: 'sysDict', ...m.default };
                      },
                    ),
                    import(/* webpackChunkName: 'p__Admin__models__sysMenu.js' */ 'G:/OpenSource/mscodereact/src/pages/Admin/models/sysMenu.js').then(
                      m => {
                        return { namespace: 'sysMenu', ...m.default };
                      },
                    ),
                    import(/* webpackChunkName: 'p__Admin__models__sysOrg.js' */ 'G:/OpenSource/mscodereact/src/pages/Admin/models/sysOrg.js').then(
                      m => {
                        return { namespace: 'sysOrg', ...m.default };
                      },
                    ),
                    import(/* webpackChunkName: 'p__Admin__models__sysParam.js' */ 'G:/OpenSource/mscodereact/src/pages/Admin/models/sysParam.js').then(
                      m => {
                        return { namespace: 'sysParam', ...m.default };
                      },
                    ),
                    import(/* webpackChunkName: 'p__Admin__models__sysRegion.js' */ 'G:/OpenSource/mscodereact/src/pages/Admin/models/sysRegion.js').then(
                      m => {
                        return { namespace: 'sysRegion', ...m.default };
                      },
                    ),
                    import(/* webpackChunkName: 'p__Admin__models__sysRole.js' */ 'G:/OpenSource/mscodereact/src/pages/Admin/models/sysRole.js').then(
                      m => {
                        return { namespace: 'sysRole', ...m.default };
                      },
                    ),
                    import(/* webpackChunkName: 'p__Admin__models__sysUser.js' */ 'G:/OpenSource/mscodereact/src/pages/Admin/models/sysUser.js').then(
                      m => {
                        return { namespace: 'sysUser', ...m.default };
                      },
                    ),
                  ],
                  component: () =>
                    import(/* webpackChunkName: "p__Admin__SysDict" */ '../Admin/SysDict'),
                  LoadingComponent: require('G:/OpenSource/mscodereact/src/components/PageLoading/index')
                    .default,
                })
              : require('../Admin/SysDict').default,
            exact: true,
          },
          {
            path: '/admin/sysregion',
            name: 'sysregion',
            component: __IS_BROWSER
              ? _dvaDynamic({
                  app: require('@tmp/dva').getApp(),
                  models: () => [
                    import(/* webpackChunkName: 'p__Admin__models__dataPermission.js' */ 'G:/OpenSource/mscodereact/src/pages/Admin/models/dataPermission.js').then(
                      m => {
                        return { namespace: 'dataPermission', ...m.default };
                      },
                    ),
                    import(/* webpackChunkName: 'p__Admin__models__notification.js' */ 'G:/OpenSource/mscodereact/src/pages/Admin/models/notification.js').then(
                      m => {
                        return { namespace: 'notification', ...m.default };
                      },
                    ),
                    import(/* webpackChunkName: 'p__Admin__models__sysDict.js' */ 'G:/OpenSource/mscodereact/src/pages/Admin/models/sysDict.js').then(
                      m => {
                        return { namespace: 'sysDict', ...m.default };
                      },
                    ),
                    import(/* webpackChunkName: 'p__Admin__models__sysMenu.js' */ 'G:/OpenSource/mscodereact/src/pages/Admin/models/sysMenu.js').then(
                      m => {
                        return { namespace: 'sysMenu', ...m.default };
                      },
                    ),
                    import(/* webpackChunkName: 'p__Admin__models__sysOrg.js' */ 'G:/OpenSource/mscodereact/src/pages/Admin/models/sysOrg.js').then(
                      m => {
                        return { namespace: 'sysOrg', ...m.default };
                      },
                    ),
                    import(/* webpackChunkName: 'p__Admin__models__sysParam.js' */ 'G:/OpenSource/mscodereact/src/pages/Admin/models/sysParam.js').then(
                      m => {
                        return { namespace: 'sysParam', ...m.default };
                      },
                    ),
                    import(/* webpackChunkName: 'p__Admin__models__sysRegion.js' */ 'G:/OpenSource/mscodereact/src/pages/Admin/models/sysRegion.js').then(
                      m => {
                        return { namespace: 'sysRegion', ...m.default };
                      },
                    ),
                    import(/* webpackChunkName: 'p__Admin__models__sysRole.js' */ 'G:/OpenSource/mscodereact/src/pages/Admin/models/sysRole.js').then(
                      m => {
                        return { namespace: 'sysRole', ...m.default };
                      },
                    ),
                    import(/* webpackChunkName: 'p__Admin__models__sysUser.js' */ 'G:/OpenSource/mscodereact/src/pages/Admin/models/sysUser.js').then(
                      m => {
                        return { namespace: 'sysUser', ...m.default };
                      },
                    ),
                  ],
                  component: () =>
                    import(/* webpackChunkName: "p__Admin__SysRegion" */ '../Admin/SysRegion'),
                  LoadingComponent: require('G:/OpenSource/mscodereact/src/components/PageLoading/index')
                    .default,
                })
              : require('../Admin/SysRegion').default,
            exact: true,
          },
          {
            path: '/admin/sysparam',
            name: 'sysparam',
            component: __IS_BROWSER
              ? _dvaDynamic({
                  app: require('@tmp/dva').getApp(),
                  models: () => [
                    import(/* webpackChunkName: 'p__Admin__models__dataPermission.js' */ 'G:/OpenSource/mscodereact/src/pages/Admin/models/dataPermission.js').then(
                      m => {
                        return { namespace: 'dataPermission', ...m.default };
                      },
                    ),
                    import(/* webpackChunkName: 'p__Admin__models__notification.js' */ 'G:/OpenSource/mscodereact/src/pages/Admin/models/notification.js').then(
                      m => {
                        return { namespace: 'notification', ...m.default };
                      },
                    ),
                    import(/* webpackChunkName: 'p__Admin__models__sysDict.js' */ 'G:/OpenSource/mscodereact/src/pages/Admin/models/sysDict.js').then(
                      m => {
                        return { namespace: 'sysDict', ...m.default };
                      },
                    ),
                    import(/* webpackChunkName: 'p__Admin__models__sysMenu.js' */ 'G:/OpenSource/mscodereact/src/pages/Admin/models/sysMenu.js').then(
                      m => {
                        return { namespace: 'sysMenu', ...m.default };
                      },
                    ),
                    import(/* webpackChunkName: 'p__Admin__models__sysOrg.js' */ 'G:/OpenSource/mscodereact/src/pages/Admin/models/sysOrg.js').then(
                      m => {
                        return { namespace: 'sysOrg', ...m.default };
                      },
                    ),
                    import(/* webpackChunkName: 'p__Admin__models__sysParam.js' */ 'G:/OpenSource/mscodereact/src/pages/Admin/models/sysParam.js').then(
                      m => {
                        return { namespace: 'sysParam', ...m.default };
                      },
                    ),
                    import(/* webpackChunkName: 'p__Admin__models__sysRegion.js' */ 'G:/OpenSource/mscodereact/src/pages/Admin/models/sysRegion.js').then(
                      m => {
                        return { namespace: 'sysRegion', ...m.default };
                      },
                    ),
                    import(/* webpackChunkName: 'p__Admin__models__sysRole.js' */ 'G:/OpenSource/mscodereact/src/pages/Admin/models/sysRole.js').then(
                      m => {
                        return { namespace: 'sysRole', ...m.default };
                      },
                    ),
                    import(/* webpackChunkName: 'p__Admin__models__sysUser.js' */ 'G:/OpenSource/mscodereact/src/pages/Admin/models/sysUser.js').then(
                      m => {
                        return { namespace: 'sysUser', ...m.default };
                      },
                    ),
                  ],
                  component: () =>
                    import(/* webpackChunkName: "p__Admin__SysParam" */ '../Admin/SysParam'),
                  LoadingComponent: require('G:/OpenSource/mscodereact/src/components/PageLoading/index')
                    .default,
                })
              : require('../Admin/SysParam').default,
            exact: true,
          },
          {
            path: '/admin/notification',
            name: 'notification',
            component: __IS_BROWSER
              ? _dvaDynamic({
                  app: require('@tmp/dva').getApp(),
                  models: () => [
                    import(/* webpackChunkName: 'p__Admin__models__dataPermission.js' */ 'G:/OpenSource/mscodereact/src/pages/Admin/models/dataPermission.js').then(
                      m => {
                        return { namespace: 'dataPermission', ...m.default };
                      },
                    ),
                    import(/* webpackChunkName: 'p__Admin__models__notification.js' */ 'G:/OpenSource/mscodereact/src/pages/Admin/models/notification.js').then(
                      m => {
                        return { namespace: 'notification', ...m.default };
                      },
                    ),
                    import(/* webpackChunkName: 'p__Admin__models__sysDict.js' */ 'G:/OpenSource/mscodereact/src/pages/Admin/models/sysDict.js').then(
                      m => {
                        return { namespace: 'sysDict', ...m.default };
                      },
                    ),
                    import(/* webpackChunkName: 'p__Admin__models__sysMenu.js' */ 'G:/OpenSource/mscodereact/src/pages/Admin/models/sysMenu.js').then(
                      m => {
                        return { namespace: 'sysMenu', ...m.default };
                      },
                    ),
                    import(/* webpackChunkName: 'p__Admin__models__sysOrg.js' */ 'G:/OpenSource/mscodereact/src/pages/Admin/models/sysOrg.js').then(
                      m => {
                        return { namespace: 'sysOrg', ...m.default };
                      },
                    ),
                    import(/* webpackChunkName: 'p__Admin__models__sysParam.js' */ 'G:/OpenSource/mscodereact/src/pages/Admin/models/sysParam.js').then(
                      m => {
                        return { namespace: 'sysParam', ...m.default };
                      },
                    ),
                    import(/* webpackChunkName: 'p__Admin__models__sysRegion.js' */ 'G:/OpenSource/mscodereact/src/pages/Admin/models/sysRegion.js').then(
                      m => {
                        return { namespace: 'sysRegion', ...m.default };
                      },
                    ),
                    import(/* webpackChunkName: 'p__Admin__models__sysRole.js' */ 'G:/OpenSource/mscodereact/src/pages/Admin/models/sysRole.js').then(
                      m => {
                        return { namespace: 'sysRole', ...m.default };
                      },
                    ),
                    import(/* webpackChunkName: 'p__Admin__models__sysUser.js' */ 'G:/OpenSource/mscodereact/src/pages/Admin/models/sysUser.js').then(
                      m => {
                        return { namespace: 'sysUser', ...m.default };
                      },
                    ),
                  ],
                  component: () =>
                    import(/* webpackChunkName: "p__Admin__Notification" */ '../Admin/Notification'),
                  LoadingComponent: require('G:/OpenSource/mscodereact/src/components/PageLoading/index')
                    .default,
                })
              : require('../Admin/Notification').default,
            exact: true,
          },
          {
            component: () =>
              React.createElement(
                require('G:/OpenSource/mscodereact/node_modules/umi-build-dev/lib/plugins/404/NotFound.js')
                  .default,
                { pagesPath: 'src/pages', hasRoutesInConfig: true },
              ),
          },
        ],
      },
      {
        path: '/file',
        name: 'file',
        routes: [
          {
            path: '/file/upload-download',
            name: 'uploaddownload',
            component: __IS_BROWSER
              ? _dvaDynamic({
                  app: require('@tmp/dva').getApp(),
                  models: () => [
                    import(/* webpackChunkName: 'p__File__models__file.js' */ 'G:/OpenSource/mscodereact/src/pages/File/models/file.js').then(
                      m => {
                        return { namespace: 'file', ...m.default };
                      },
                    ),
                  ],
                  component: () =>
                    import(/* webpackChunkName: "p__File__File" */ '../File/File'),
                  LoadingComponent: require('G:/OpenSource/mscodereact/src/components/PageLoading/index')
                    .default,
                })
              : require('../File/File').default,
            exact: true,
          },
          {
            component: () =>
              React.createElement(
                require('G:/OpenSource/mscodereact/node_modules/umi-build-dev/lib/plugins/404/NotFound.js')
                  .default,
                { pagesPath: 'src/pages', hasRoutesInConfig: true },
              ),
          },
        ],
      },
      {
        path: '/distributedlog',
        name: 'distributedlog',
        routes: [
          {
            name: 'kibana',
            exact: true,
          },
          {
            component: () =>
              React.createElement(
                require('G:/OpenSource/mscodereact/node_modules/umi-build-dev/lib/plugins/404/NotFound.js')
                  .default,
                { pagesPath: 'src/pages', hasRoutesInConfig: true },
              ),
          },
        ],
      },
      {
        path: '/monitors',
        name: 'monitors',
        routes: [
          {
            name: 'sentinel',
            exact: true,
          },
          {
            name: 'nacos',
            exact: true,
          },
          {
            name: 'swagger',
            exact: true,
          },
          {
            component: () =>
              React.createElement(
                require('G:/OpenSource/mscodereact/node_modules/umi-build-dev/lib/plugins/404/NotFound.js')
                  .default,
                { pagesPath: 'src/pages', hasRoutesInConfig: true },
              ),
          },
        ],
      },
      {
        path: '/account',
        name: 'account',
        routes: [
          {
            path: '/account/settings',
            name: 'settings',
            component: __IS_BROWSER
              ? _dvaDynamic({
                  app: require('@tmp/dva').getApp(),
                  models: () => [
                    import(/* webpackChunkName: 'p__Account__Settings__models__account.js' */ 'G:/OpenSource/mscodereact/src/pages/Account/Settings/models/account.js').then(
                      m => {
                        return { namespace: 'account', ...m.default };
                      },
                    ),
                    import(/* webpackChunkName: 'p__Account__Settings__models__geographic.js' */ 'G:/OpenSource/mscodereact/src/pages/Account/Settings/models/geographic.js').then(
                      m => {
                        return { namespace: 'geographic', ...m.default };
                      },
                    ),
                  ],
                  component: () =>
                    import(/* webpackChunkName: "p__Account__Settings__Info" */ '../Account/Settings/Info'),
                  LoadingComponent: require('G:/OpenSource/mscodereact/src/components/PageLoading/index')
                    .default,
                })
              : require('../Account/Settings/Info').default,
            routes: [
              {
                path: '/account/settings',
                redirect: '/account/settings/base',
                exact: true,
              },
              {
                path: '/account/settings/base',
                component: __IS_BROWSER
                  ? _dvaDynamic({
                      app: require('@tmp/dva').getApp(),
                      models: () => [
                        import(/* webpackChunkName: 'p__Account__Settings__models__account.js' */ 'G:/OpenSource/mscodereact/src/pages/Account/Settings/models/account.js').then(
                          m => {
                            return { namespace: 'account', ...m.default };
                          },
                        ),
                        import(/* webpackChunkName: 'p__Account__Settings__models__geographic.js' */ 'G:/OpenSource/mscodereact/src/pages/Account/Settings/models/geographic.js').then(
                          m => {
                            return { namespace: 'geographic', ...m.default };
                          },
                        ),
                      ],
                      component: () =>
                        import(/* webpackChunkName: "p__Account__Settings__Info" */ '../Account/Settings/BaseView'),
                      LoadingComponent: require('G:/OpenSource/mscodereact/src/components/PageLoading/index')
                        .default,
                    })
                  : require('../Account/Settings/BaseView').default,
                exact: true,
              },
              {
                path: '/account/settings/security',
                component: __IS_BROWSER
                  ? _dvaDynamic({
                      app: require('@tmp/dva').getApp(),
                      models: () => [
                        import(/* webpackChunkName: 'p__Account__Settings__models__account.js' */ 'G:/OpenSource/mscodereact/src/pages/Account/Settings/models/account.js').then(
                          m => {
                            return { namespace: 'account', ...m.default };
                          },
                        ),
                        import(/* webpackChunkName: 'p__Account__Settings__models__geographic.js' */ 'G:/OpenSource/mscodereact/src/pages/Account/Settings/models/geographic.js').then(
                          m => {
                            return { namespace: 'geographic', ...m.default };
                          },
                        ),
                      ],
                      component: () =>
                        import(/* webpackChunkName: "p__Account__Settings__Info" */ '../Account/Settings/SecurityView'),
                      LoadingComponent: require('G:/OpenSource/mscodereact/src/components/PageLoading/index')
                        .default,
                    })
                  : require('../Account/Settings/SecurityView').default,
                exact: true,
              },
              {
                path: '/account/settings/notification',
                component: __IS_BROWSER
                  ? _dvaDynamic({
                      app: require('@tmp/dva').getApp(),
                      models: () => [
                        import(/* webpackChunkName: 'p__Account__Settings__models__account.js' */ 'G:/OpenSource/mscodereact/src/pages/Account/Settings/models/account.js').then(
                          m => {
                            return { namespace: 'account', ...m.default };
                          },
                        ),
                        import(/* webpackChunkName: 'p__Account__Settings__models__geographic.js' */ 'G:/OpenSource/mscodereact/src/pages/Account/Settings/models/geographic.js').then(
                          m => {
                            return { namespace: 'geographic', ...m.default };
                          },
                        ),
                      ],
                      component: () =>
                        import(/* webpackChunkName: "p__Account__Settings__Info" */ '../Account/Settings/NotificationView'),
                      LoadingComponent: require('G:/OpenSource/mscodereact/src/components/PageLoading/index')
                        .default,
                    })
                  : require('../Account/Settings/NotificationView').default,
                exact: true,
              },
              {
                component: () =>
                  React.createElement(
                    require('G:/OpenSource/mscodereact/node_modules/umi-build-dev/lib/plugins/404/NotFound.js')
                      .default,
                    { pagesPath: 'src/pages', hasRoutesInConfig: true },
                  ),
              },
            ],
          },
          {
            component: () =>
              React.createElement(
                require('G:/OpenSource/mscodereact/node_modules/umi-build-dev/lib/plugins/404/NotFound.js')
                  .default,
                { pagesPath: 'src/pages', hasRoutesInConfig: true },
              ),
          },
        ],
      },
      {
        path: '/exception',
        name: 'exception',
        routes: [
          {
            path: '/exception/403',
            name: 'not-permission',
            component: __IS_BROWSER
              ? _dvaDynamic({
                  component: () =>
                    import(/* webpackChunkName: "p__Exception__Exception403" */ '../Exception/Exception403'),
                  LoadingComponent: require('G:/OpenSource/mscodereact/src/components/PageLoading/index')
                    .default,
                })
              : require('../Exception/Exception403').default,
            exact: true,
          },
          {
            path: '/exception/404',
            name: 'not-find',
            component: __IS_BROWSER
              ? _dvaDynamic({
                  component: () =>
                    import(/* webpackChunkName: "p__Exception__Exception404" */ '../Exception/Exception404'),
                  LoadingComponent: require('G:/OpenSource/mscodereact/src/components/PageLoading/index')
                    .default,
                })
              : require('../Exception/Exception404').default,
            exact: true,
          },
          {
            path: '/exception/500',
            name: 'server-error',
            component: __IS_BROWSER
              ? _dvaDynamic({
                  component: () =>
                    import(/* webpackChunkName: "p__Exception__Exception500" */ '../Exception/Exception500'),
                  LoadingComponent: require('G:/OpenSource/mscodereact/src/components/PageLoading/index')
                    .default,
                })
              : require('../Exception/Exception500').default,
            exact: true,
          },
          {
            component: () =>
              React.createElement(
                require('G:/OpenSource/mscodereact/node_modules/umi-build-dev/lib/plugins/404/NotFound.js')
                  .default,
                { pagesPath: 'src/pages', hasRoutesInConfig: true },
              ),
          },
        ],
      },
      {
        path: '/template',
        name: 'template',
        routes: [
          {
            path: '/template/form',
            name: 'form',
            routes: [
              {
                path: '/template/form/basic-form',
                name: 'basicform',
                component: __IS_BROWSER
                  ? _dvaDynamic({
                      app: require('@tmp/dva').getApp(),
                      models: () => [
                        import(/* webpackChunkName: 'p__Template__Forms__models__form.js' */ 'G:/OpenSource/mscodereact/src/pages/Template/Forms/models/form.js').then(
                          m => {
                            return { namespace: 'form', ...m.default };
                          },
                        ),
                      ],
                      component: () =>
                        import(/* webpackChunkName: "layouts__BasicLayout" */ '../Template/Forms/BasicForm'),
                      LoadingComponent: require('G:/OpenSource/mscodereact/src/components/PageLoading/index')
                        .default,
                    })
                  : require('../Template/Forms/BasicForm').default,
                exact: true,
              },
              {
                path: '/template/form/step-form',
                name: 'stepform',
                component: __IS_BROWSER
                  ? _dvaDynamic({
                      app: require('@tmp/dva').getApp(),
                      models: () => [
                        import(/* webpackChunkName: 'p__Template__Forms__models__form.js' */ 'G:/OpenSource/mscodereact/src/pages/Template/Forms/models/form.js').then(
                          m => {
                            return { namespace: 'form', ...m.default };
                          },
                        ),
                      ],
                      component: () =>
                        import(/* webpackChunkName: "layouts__BasicLayout" */ '../Template/Forms/StepForm'),
                      LoadingComponent: require('G:/OpenSource/mscodereact/src/components/PageLoading/index')
                        .default,
                    })
                  : require('../Template/Forms/StepForm').default,
                routes: [
                  {
                    path: '/template/form/step-form?current=1',
                    component: __IS_BROWSER
                      ? _dvaDynamic({
                          app: require('@tmp/dva').getApp(),
                          models: () => [
                            import(/* webpackChunkName: 'p__Template__Forms__models__form.js' */ 'G:/OpenSource/mscodereact/src/pages/Template/Forms/models/form.js').then(
                              m => {
                                return { namespace: 'form', ...m.default };
                              },
                            ),
                          ],
                          component: () =>
                            import(/* webpackChunkName: "layouts__BasicLayout" */ '../Template/Forms/StepForm/Step1'),
                          LoadingComponent: require('G:/OpenSource/mscodereact/src/components/PageLoading/index')
                            .default,
                        })
                      : require('../Template/Forms/StepForm/Step1').default,
                    exact: true,
                  },
                  {
                    path: '/template/form/step-form/info',
                    name: 'info',
                    component: __IS_BROWSER
                      ? _dvaDynamic({
                          app: require('@tmp/dva').getApp(),
                          models: () => [
                            import(/* webpackChunkName: 'p__Template__Forms__models__form.js' */ 'G:/OpenSource/mscodereact/src/pages/Template/Forms/models/form.js').then(
                              m => {
                                return { namespace: 'form', ...m.default };
                              },
                            ),
                          ],
                          component: () =>
                            import(/* webpackChunkName: "layouts__BasicLayout" */ '../Template/Forms/StepForm/Step1'),
                          LoadingComponent: require('G:/OpenSource/mscodereact/src/components/PageLoading/index')
                            .default,
                        })
                      : require('../Template/Forms/StepForm/Step1').default,
                    exact: true,
                  },
                  {
                    path: '/template/form/step-form/confirm',
                    name: 'confirm',
                    component: __IS_BROWSER
                      ? _dvaDynamic({
                          app: require('@tmp/dva').getApp(),
                          models: () => [
                            import(/* webpackChunkName: 'p__Template__Forms__models__form.js' */ 'G:/OpenSource/mscodereact/src/pages/Template/Forms/models/form.js').then(
                              m => {
                                return { namespace: 'form', ...m.default };
                              },
                            ),
                          ],
                          component: () =>
                            import(/* webpackChunkName: "layouts__BasicLayout" */ '../Template/Forms/StepForm/Step2'),
                          LoadingComponent: require('G:/OpenSource/mscodereact/src/components/PageLoading/index')
                            .default,
                        })
                      : require('../Template/Forms/StepForm/Step2').default,
                    exact: true,
                  },
                  {
                    path: '/template/form/step-form/finish',
                    name: 'finish',
                    component: __IS_BROWSER
                      ? _dvaDynamic({
                          app: require('@tmp/dva').getApp(),
                          models: () => [
                            import(/* webpackChunkName: 'p__Template__Forms__models__form.js' */ 'G:/OpenSource/mscodereact/src/pages/Template/Forms/models/form.js').then(
                              m => {
                                return { namespace: 'form', ...m.default };
                              },
                            ),
                          ],
                          component: () =>
                            import(/* webpackChunkName: "layouts__BasicLayout" */ '../Template/Forms/StepForm/Step3'),
                          LoadingComponent: require('G:/OpenSource/mscodereact/src/components/PageLoading/index')
                            .default,
                        })
                      : require('../Template/Forms/StepForm/Step3').default,
                    exact: true,
                  },
                  {
                    component: () =>
                      React.createElement(
                        require('G:/OpenSource/mscodereact/node_modules/umi-build-dev/lib/plugins/404/NotFound.js')
                          .default,
                        { pagesPath: 'src/pages', hasRoutesInConfig: true },
                      ),
                  },
                ],
              },
              {
                path: '/template/form/advanced-form',
                name: 'advancedform',
                component: __IS_BROWSER
                  ? _dvaDynamic({
                      app: require('@tmp/dva').getApp(),
                      models: () => [
                        import(/* webpackChunkName: 'p__Template__Forms__models__form.js' */ 'G:/OpenSource/mscodereact/src/pages/Template/Forms/models/form.js').then(
                          m => {
                            return { namespace: 'form', ...m.default };
                          },
                        ),
                      ],
                      component: () =>
                        import(/* webpackChunkName: "layouts__BasicLayout" */ '../Template/Forms/AdvancedForm'),
                      LoadingComponent: require('G:/OpenSource/mscodereact/src/components/PageLoading/index')
                        .default,
                    })
                  : require('../Template/Forms/AdvancedForm').default,
                exact: true,
              },
              {
                component: () =>
                  React.createElement(
                    require('G:/OpenSource/mscodereact/node_modules/umi-build-dev/lib/plugins/404/NotFound.js')
                      .default,
                    { pagesPath: 'src/pages', hasRoutesInConfig: true },
                  ),
              },
            ],
          },
          {
            path: '/template/list',
            name: 'list',
            routes: [
              {
                path: '/template/list/table-list',
                name: 'searchtable',
                component: __IS_BROWSER
                  ? _dvaDynamic({
                      app: require('@tmp/dva').getApp(),
                      models: () => [
                        import(/* webpackChunkName: 'p__Template__List__models__rule.js' */ 'G:/OpenSource/mscodereact/src/pages/Template/List/models/rule.js').then(
                          m => {
                            return { namespace: 'rule', ...m.default };
                          },
                        ),
                      ],
                      component: () =>
                        import(/* webpackChunkName: "layouts__BasicLayout" */ '../Template/List/TableList'),
                      LoadingComponent: require('G:/OpenSource/mscodereact/src/components/PageLoading/index')
                        .default,
                    })
                  : require('../Template/List/TableList').default,
                exact: true,
              },
              {
                path: '/template/list/basic-list',
                name: 'basiclist',
                component: __IS_BROWSER
                  ? _dvaDynamic({
                      app: require('@tmp/dva').getApp(),
                      models: () => [
                        import(/* webpackChunkName: 'p__Template__List__models__rule.js' */ 'G:/OpenSource/mscodereact/src/pages/Template/List/models/rule.js').then(
                          m => {
                            return { namespace: 'rule', ...m.default };
                          },
                        ),
                      ],
                      component: () =>
                        import(/* webpackChunkName: "layouts__BasicLayout" */ '../Template/List/BasicList'),
                      LoadingComponent: require('G:/OpenSource/mscodereact/src/components/PageLoading/index')
                        .default,
                    })
                  : require('../Template/List/BasicList').default,
                exact: true,
              },
              {
                path: '/template/list/card-list',
                name: 'cardlist',
                component: __IS_BROWSER
                  ? _dvaDynamic({
                      app: require('@tmp/dva').getApp(),
                      models: () => [
                        import(/* webpackChunkName: 'p__Template__List__models__rule.js' */ 'G:/OpenSource/mscodereact/src/pages/Template/List/models/rule.js').then(
                          m => {
                            return { namespace: 'rule', ...m.default };
                          },
                        ),
                      ],
                      component: () =>
                        import(/* webpackChunkName: "layouts__BasicLayout" */ '../Template/List/CardList'),
                      LoadingComponent: require('G:/OpenSource/mscodereact/src/components/PageLoading/index')
                        .default,
                    })
                  : require('../Template/List/CardList').default,
                exact: true,
              },
              {
                path: '/template/list/search',
                name: 'searchlist',
                component: __IS_BROWSER
                  ? _dvaDynamic({
                      app: require('@tmp/dva').getApp(),
                      models: () => [
                        import(/* webpackChunkName: 'p__Template__List__models__rule.js' */ 'G:/OpenSource/mscodereact/src/pages/Template/List/models/rule.js').then(
                          m => {
                            return { namespace: 'rule', ...m.default };
                          },
                        ),
                      ],
                      component: () =>
                        import(/* webpackChunkName: "layouts__BasicLayout" */ '../Template/List/List'),
                      LoadingComponent: require('G:/OpenSource/mscodereact/src/components/PageLoading/index')
                        .default,
                    })
                  : require('../Template/List/List').default,
                routes: [
                  {
                    path: '/template/list/search',
                    redirect: '/template/list/search/articles',
                    exact: true,
                  },
                  {
                    path: '/template/list/search/articles',
                    name: 'articles',
                    component: __IS_BROWSER
                      ? _dvaDynamic({
                          app: require('@tmp/dva').getApp(),
                          models: () => [
                            import(/* webpackChunkName: 'p__Template__List__models__rule.js' */ 'G:/OpenSource/mscodereact/src/pages/Template/List/models/rule.js').then(
                              m => {
                                return { namespace: 'rule', ...m.default };
                              },
                            ),
                          ],
                          component: () =>
                            import(/* webpackChunkName: "layouts__BasicLayout" */ '../Template/List/Articles'),
                          LoadingComponent: require('G:/OpenSource/mscodereact/src/components/PageLoading/index')
                            .default,
                        })
                      : require('../Template/List/Articles').default,
                    exact: true,
                  },
                  {
                    path: '/template/list/search/projects',
                    name: 'projects',
                    component: __IS_BROWSER
                      ? _dvaDynamic({
                          app: require('@tmp/dva').getApp(),
                          models: () => [
                            import(/* webpackChunkName: 'p__Template__List__models__rule.js' */ 'G:/OpenSource/mscodereact/src/pages/Template/List/models/rule.js').then(
                              m => {
                                return { namespace: 'rule', ...m.default };
                              },
                            ),
                          ],
                          component: () =>
                            import(/* webpackChunkName: "layouts__BasicLayout" */ '../Template/List/Projects'),
                          LoadingComponent: require('G:/OpenSource/mscodereact/src/components/PageLoading/index')
                            .default,
                        })
                      : require('../Template/List/Projects').default,
                    exact: true,
                  },
                  {
                    path: '/template/list/search/applications',
                    name: 'applications',
                    component: __IS_BROWSER
                      ? _dvaDynamic({
                          app: require('@tmp/dva').getApp(),
                          models: () => [
                            import(/* webpackChunkName: 'p__Template__List__models__rule.js' */ 'G:/OpenSource/mscodereact/src/pages/Template/List/models/rule.js').then(
                              m => {
                                return { namespace: 'rule', ...m.default };
                              },
                            ),
                          ],
                          component: () =>
                            import(/* webpackChunkName: "layouts__BasicLayout" */ '../Template/List/Applications'),
                          LoadingComponent: require('G:/OpenSource/mscodereact/src/components/PageLoading/index')
                            .default,
                        })
                      : require('../Template/List/Applications').default,
                    exact: true,
                  },
                  {
                    component: () =>
                      React.createElement(
                        require('G:/OpenSource/mscodereact/node_modules/umi-build-dev/lib/plugins/404/NotFound.js')
                          .default,
                        { pagesPath: 'src/pages', hasRoutesInConfig: true },
                      ),
                  },
                ],
              },
              {
                component: () =>
                  React.createElement(
                    require('G:/OpenSource/mscodereact/node_modules/umi-build-dev/lib/plugins/404/NotFound.js')
                      .default,
                    { pagesPath: 'src/pages', hasRoutesInConfig: true },
                  ),
              },
            ],
          },
          {
            path: '/template/profile',
            name: 'profile',
            routes: [
              {
                path: '/template/profile/basic',
                name: 'basic',
                component: __IS_BROWSER
                  ? _dvaDynamic({
                      app: require('@tmp/dva').getApp(),
                      models: () => [
                        import(/* webpackChunkName: 'p__Template__Profile__models__profile.js' */ 'G:/OpenSource/mscodereact/src/pages/Template/Profile/models/profile.js').then(
                          m => {
                            return { namespace: 'profile', ...m.default };
                          },
                        ),
                      ],
                      component: () =>
                        import(/* webpackChunkName: "layouts__BasicLayout" */ '../Template/Profile/BasicProfile'),
                      LoadingComponent: require('G:/OpenSource/mscodereact/src/components/PageLoading/index')
                        .default,
                    })
                  : require('../Template/Profile/BasicProfile').default,
                exact: true,
              },
              {
                path: '/template/profile/basic/:id',
                component: __IS_BROWSER
                  ? _dvaDynamic({
                      app: require('@tmp/dva').getApp(),
                      models: () => [
                        import(/* webpackChunkName: 'p__Template__Profile__models__profile.js' */ 'G:/OpenSource/mscodereact/src/pages/Template/Profile/models/profile.js').then(
                          m => {
                            return { namespace: 'profile', ...m.default };
                          },
                        ),
                      ],
                      component: () =>
                        import(/* webpackChunkName: "layouts__BasicLayout" */ '../Template/Profile/BasicProfile'),
                      LoadingComponent: require('G:/OpenSource/mscodereact/src/components/PageLoading/index')
                        .default,
                    })
                  : require('../Template/Profile/BasicProfile').default,
                exact: true,
              },
              {
                path: '/template/profile/advanced',
                name: 'advanced',
                component: __IS_BROWSER
                  ? _dvaDynamic({
                      app: require('@tmp/dva').getApp(),
                      models: () => [
                        import(/* webpackChunkName: 'p__Template__Profile__models__profile.js' */ 'G:/OpenSource/mscodereact/src/pages/Template/Profile/models/profile.js').then(
                          m => {
                            return { namespace: 'profile', ...m.default };
                          },
                        ),
                      ],
                      component: () =>
                        import(/* webpackChunkName: "layouts__BasicLayout" */ '../Template/Profile/AdvancedProfile'),
                      LoadingComponent: require('G:/OpenSource/mscodereact/src/components/PageLoading/index')
                        .default,
                    })
                  : require('../Template/Profile/AdvancedProfile').default,
                exact: true,
              },
              {
                component: () =>
                  React.createElement(
                    require('G:/OpenSource/mscodereact/node_modules/umi-build-dev/lib/plugins/404/NotFound.js')
                      .default,
                    { pagesPath: 'src/pages', hasRoutesInConfig: true },
                  ),
              },
            ],
          },
          {
            path: '/template/result',
            name: 'result',
            routes: [
              {
                path: '/template/result/success',
                name: 'success',
                component: __IS_BROWSER
                  ? _dvaDynamic({
                      component: () =>
                        import(/* webpackChunkName: "layouts__BasicLayout" */ '../Template/Result/Success'),
                      LoadingComponent: require('G:/OpenSource/mscodereact/src/components/PageLoading/index')
                        .default,
                    })
                  : require('../Template/Result/Success').default,
                exact: true,
              },
              {
                path: '/template/result/fail',
                name: 'fail',
                component: __IS_BROWSER
                  ? _dvaDynamic({
                      component: () =>
                        import(/* webpackChunkName: "layouts__BasicLayout" */ '../Template/Result/Error'),
                      LoadingComponent: require('G:/OpenSource/mscodereact/src/components/PageLoading/index')
                        .default,
                    })
                  : require('../Template/Result/Error').default,
                exact: true,
              },
              {
                component: () =>
                  React.createElement(
                    require('G:/OpenSource/mscodereact/node_modules/umi-build-dev/lib/plugins/404/NotFound.js')
                      .default,
                    { pagesPath: 'src/pages', hasRoutesInConfig: true },
                  ),
              },
            ],
          },
          {
            path: '/template/account',
            name: 'account',
            routes: [
              {
                path: '/template/account/center',
                name: 'center',
                component: __IS_BROWSER
                  ? _dvaDynamic({
                      component: () =>
                        import(/* webpackChunkName: "layouts__BasicLayout" */ '../Template/Account/Center/Center'),
                      LoadingComponent: require('G:/OpenSource/mscodereact/src/components/PageLoading/index')
                        .default,
                    })
                  : require('../Template/Account/Center/Center').default,
                routes: [
                  {
                    path: '/template/account/center',
                    redirect: '/template/account/center/articles',
                    exact: true,
                  },
                  {
                    path: '/template/account/center/articles',
                    component: __IS_BROWSER
                      ? _dvaDynamic({
                          component: () =>
                            import(/* webpackChunkName: "layouts__BasicLayout" */ '../Template/Account/Center/Articles'),
                          LoadingComponent: require('G:/OpenSource/mscodereact/src/components/PageLoading/index')
                            .default,
                        })
                      : require('../Template/Account/Center/Articles').default,
                    exact: true,
                  },
                  {
                    path: '/template/account/center/applications',
                    component: __IS_BROWSER
                      ? _dvaDynamic({
                          component: () =>
                            import(/* webpackChunkName: "layouts__BasicLayout" */ '../Template/Account/Center/Applications'),
                          LoadingComponent: require('G:/OpenSource/mscodereact/src/components/PageLoading/index')
                            .default,
                        })
                      : require('../Template/Account/Center/Applications')
                          .default,
                    exact: true,
                  },
                  {
                    path: '/template/account/center/projects',
                    component: __IS_BROWSER
                      ? _dvaDynamic({
                          component: () =>
                            import(/* webpackChunkName: "layouts__BasicLayout" */ '../Template/Account/Center/Projects'),
                          LoadingComponent: require('G:/OpenSource/mscodereact/src/components/PageLoading/index')
                            .default,
                        })
                      : require('../Template/Account/Center/Projects').default,
                    exact: true,
                  },
                  {
                    component: () =>
                      React.createElement(
                        require('G:/OpenSource/mscodereact/node_modules/umi-build-dev/lib/plugins/404/NotFound.js')
                          .default,
                        { pagesPath: 'src/pages', hasRoutesInConfig: true },
                      ),
                  },
                ],
              },
              {
                component: () =>
                  React.createElement(
                    require('G:/OpenSource/mscodereact/node_modules/umi-build-dev/lib/plugins/404/NotFound.js')
                      .default,
                    { pagesPath: 'src/pages', hasRoutesInConfig: true },
                  ),
              },
            ],
          },
          {
            path: '/template/editor',
            name: 'editor',
            routes: [
              {
                path: '/template/editor/flow',
                name: 'flow',
                component: __IS_BROWSER
                  ? _dvaDynamic({
                      component: () =>
                        import(/* webpackChunkName: "layouts__BasicLayout" */ '../Template/Editor/GGEditor/Flow'),
                      LoadingComponent: require('G:/OpenSource/mscodereact/src/components/PageLoading/index')
                        .default,
                    })
                  : require('../Template/Editor/GGEditor/Flow').default,
                exact: true,
              },
              {
                path: '/template/editor/mind',
                name: 'mind',
                component: __IS_BROWSER
                  ? _dvaDynamic({
                      component: () =>
                        import(/* webpackChunkName: "layouts__BasicLayout" */ '../Template/Editor/GGEditor/Mind'),
                      LoadingComponent: require('G:/OpenSource/mscodereact/src/components/PageLoading/index')
                        .default,
                    })
                  : require('../Template/Editor/GGEditor/Mind').default,
                exact: true,
              },
              {
                path: '/template/editor/koni',
                name: 'koni',
                component: __IS_BROWSER
                  ? _dvaDynamic({
                      component: () =>
                        import(/* webpackChunkName: "layouts__BasicLayout" */ '../Template/Editor/GGEditor/Koni'),
                      LoadingComponent: require('G:/OpenSource/mscodereact/src/components/PageLoading/index')
                        .default,
                    })
                  : require('../Template/Editor/GGEditor/Koni').default,
                exact: true,
              },
              {
                component: () =>
                  React.createElement(
                    require('G:/OpenSource/mscodereact/node_modules/umi-build-dev/lib/plugins/404/NotFound.js')
                      .default,
                    { pagesPath: 'src/pages', hasRoutesInConfig: true },
                  ),
              },
            ],
          },
          {
            component: () =>
              React.createElement(
                require('G:/OpenSource/mscodereact/node_modules/umi-build-dev/lib/plugins/404/NotFound.js')
                  .default,
                { pagesPath: 'src/pages', hasRoutesInConfig: true },
              ),
          },
        ],
      },
      {
        component: __IS_BROWSER
          ? _dvaDynamic({
              component: () =>
                import(/* webpackChunkName: "p__404" */ '../404'),
              LoadingComponent: require('G:/OpenSource/mscodereact/src/components/PageLoading/index')
                .default,
            })
          : require('../404').default,
        exact: true,
      },
      {
        component: () =>
          React.createElement(
            require('G:/OpenSource/mscodereact/node_modules/umi-build-dev/lib/plugins/404/NotFound.js')
              .default,
            { pagesPath: 'src/pages', hasRoutesInConfig: true },
          ),
      },
    ],
  },
  {
    component: () =>
      React.createElement(
        require('G:/OpenSource/mscodereact/node_modules/umi-build-dev/lib/plugins/404/NotFound.js')
          .default,
        { pagesPath: 'src/pages', hasRoutesInConfig: true },
      ),
  },
];
window.g_routes = routes;
const plugins = require('umi/_runtimePlugin');
plugins.applyForEach('patchRoutes', { initialValue: routes });

export { routes };

export default class RouterWrapper extends React.Component {
  unListen = () => {};

  constructor(props) {
    super(props);

    // route change handler
    function routeChangeHandler(location, action) {
      plugins.applyForEach('onRouteChange', {
        initialValue: {
          routes,
          location,
          action,
        },
      });
    }
    this.unListen = history.listen(routeChangeHandler);
    routeChangeHandler(history.location);
  }

  componentWillUnmount() {
    this.unListen();
  }

  render() {
    const props = this.props || {};
    return (
      <RendererWrapper0>
        <Router history={history}>{renderRoutes(routes, props)}</Router>
      </RendererWrapper0>
    );
  }
}
